<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script type="application/javascript">
    var Util={
        add:function(x,y){

            return x+y;
        },
        sub:function(x,y){

            return x-y;
        }
    }
    console.log(Util.add(1,2))

    var person = {
        name: "lisi",
        age: 21,
        family: ["lida","lier","wangwu"],
        say: function(){
                     alert(this.name);
                }
    };

   person.say()
</script>
</html>